package com.himore.api.web.mapper;


import com.himore.api.web.model.TCommentPicture;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 评论图片Mapper接口
 * 
 * @author ruoyi
 * @date 2021-05-12
 */
@Mapper
public interface TCommentPictureMapper
{
    /**
     * 查询评论图片
     * 
     * @param picId 评论图片ID
     * @return 评论图片
     */
    public TCommentPicture selectTCommentPictureById(Long picId);

    /**
     * 查询评论图片列表
     * 
     * @param tCommentPicture 评论图片
     * @return 评论图片集合
     */
    public List<TCommentPicture> selectTCommentPictureList(TCommentPicture tCommentPicture);

    /**
     * 新增评论图片
     * 
     * @param tCommentPicture 评论图片
     * @return 结果
     */
    public int insertTCommentPicture(TCommentPicture tCommentPicture);

    /**
     * 修改评论图片
     * 
     * @param tCommentPicture 评论图片
     * @return 结果
     */
    public int updateTCommentPicture(TCommentPicture tCommentPicture);

    /**
     * 删除评论图片
     * 
     * @param picId 评论图片ID
     * @return 结果
     */
    public int deleteTCommentPictureById(Long picId);

    /**
     * 批量删除评论图片
     * 
     * @param picIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTCommentPictureByIds(String[] picIds);
}
